package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.HEMSProfessional;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HEMSProfessionalMapper extends MyMapper<HEMSProfessional> {
    /**
     * Description: 获取职员信息最大单据号
     * @Param:
     * @Author: fj
     * @Date: 2020/8/26
     * @Return: java.lang.String
     */
    String selectMaxSequenceNo();

    /**
     * Description: 通过职员code查询职员信息是否存在
     * @Param: [professionalCode]
     * @Author: fj
     * @Date: 2020/8/26
     * @Return: com.authine.cloudpivot.web.api.vo.HEMSProfessional
     */
    HEMSProfessional selectByProfessionalCode(@Param("professionalCode") String professionalCode);
}